<%--
  公共菜单栏（注意此部分不能单独使用）
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/7/13 0013
  Time: 10:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- left menu starts -->
<div class="col-sm-2 col-lg-2">
  <div class="sidebar-nav">
    <div class="nav-canvas">
      <div class="nav-sm nav nav-stacked">

      </div>
      <ul class="nav nav-pills nav-stacked main-menu">
        <c:forEach items="${home_page_menu}" var="item">
          <li class="accordion">
            <a href="#"><i class="glyphicon glyphicon-home"></i><span> ${item.name}</span></a>
            <ul class="nav nav-pills nav-stacked">
              <c:forEach items="${item.childRes}" var="item2">
                <li><a href="${item2.url}">${item2.name}</a></li>
              </c:forEach>
            </ul>
          </li>
        </c:forEach>
      </ul>
      <label id="for-is-ajax" for="is-ajax"><input id="is-ajax" type="checkbox"> Ajax on menu</label>
    </div>
  </div>
</div>
<!-- left menu ends -->